<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>SDL_gpu: Main Page</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SDL_gpu
   &#160;<span id="projectnumber">0.10.0</span>
   </div>
   <div id="projectbrief">A hardware-accelerated, cross-platform 2D graphics API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li class="current"><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">SDL_gpu Documentation</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>SDL_gpu is a C code library for making hardware-accelerated 2D graphics easy.</p>
<p>SDL_gpu is licensed under the terms of the MIT License.<br />
 See LICENSE.txt for details of the usage license granted to you for this code.</p>
<p>A good way to use this documentation is to start on the <a href="modules.html">Modules page</a>.</p>
<h1><a class="anchor" id="latest_source"></a>
LATEST SOURCE</h1>
<p>SDL_gpu is hosted on Google Code (<a href="http://code.google.com/p/sdl-gpu">http://code.google.com/p/sdl-gpu</a>). You can check out the latest version of the source code with Subversion:<br />
 </p><pre>svn checkout <a href="http://sdl-gpu.googlecode.com/svn/trunk/">http://sdl-gpu.googlecode.com/svn/trunk/</a> sdl-gpu</pre><p>To check out everything, including the pre-generated documentation:<br />
 </p><pre>svn checkout <a href="http://sdl-gpu.googlecode.com/svn/">http://sdl-gpu.googlecode.com/svn/</a> sdl-gpu</pre><p>For just the current library code, use:<br />
 </p><pre>svn checkout <a href="http://sdl-gpu.googlecode.com/svn/trunk/">http://sdl-gpu.googlecode.com/svn/trunk/</a> sdl-gpu</pre><h1><a class="anchor" id="dependencies"></a>
DEPENDENCIES</h1>
<p>SDL 1.2 or SDL 2.0 (www.libsdl.org)<br />
 A rendering backend<br />
 Currently implemented: OpenGL 1.1, OpenGL 2.0, OpenGL 3.0, OpenGL ES 1.1, OpenGL ES 2.0</p>
<h1><a class="anchor" id="building"></a>
BUILDING</h1>
<p>SDL_gpu uses CMake (www.cmake.org) to coordinate the library build process. CMake is available as a GUI program or on the command line.</p>
<p>For Linux/UNIX systems, run CMake in the base directory:<br />
 </p><pre>cmake -G "Unix Makefiles"
make
sudo make install</pre><p>For Linux/UNIX systems, changing the default installation directory can be done like so:<br />
 </p><pre>cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr</pre><p>For Windows systems, you can use cmake-gui and select appropriate options in there (warning: cmake-gui is messy!).</p>
<h1><a class="anchor" id="including_linking"></a>
INCLUDING / LINKING</h1>
<p>Add the include for <a class="el" href="SDL__gpu_8h.html">SDL_gpu.h</a> to your sources. Link to SDL_gpu (libSDL_gpu.a) or SDL2_gpu (if you use SDL2).</p>
<h1><a class="anchor" id="documentation"></a>
DOCUMENTATION</h1>
<p>Documentation is automatically generated with Doxygen (<a href="http://sourceforge.net/projects/doxygen">http://sourceforge.net/projects/doxygen</a>).<br />
 Pre-generated documentation can be found in the repository's base documentation directory.</p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Feb 11 2015 20:10:54 for SDL_gpu by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
